package ldk.learn.jni;

public class StringJni {
    static {
        System.loadLibrary("stringjni");
    }

    private static native void passJavaString(String strMsg);
    private static native String generateString();

    public static void main(String[] args){
        System.out.println("startJniString");
        passJavaString("My Name is 梁");
        System.out.println("generate string: " + generateString());
    }
}
